package com.libui.thirdpartsdk.login

import com.libui.thirdpartsdk.SDKInterface
import com.libui.thirdpartsdk.login.models.LoginModel

typealias LoginCompletion = (result: Boolean, message: String?, loginModel: LoginModel?) -> Unit

interface Login {
    interface Builder {
        val type: String

        val name: String

        val icon: String?

        fun build(sdk: SDKInterface): Login
    }

    val type: String

    val name: String

    val icon: String?

    fun login(completion: LoginCompletion?)
}